package javango.forms;

import java.util.Map;

import com.google.inject.ImplementedBy;

@ImplementedBy(FormsImpl.class)
public interface Forms {
	
	InlineForms inlineForms(String prefix, String coreField, Class<? extends Form> formClass, Map<String, String[]> values);
	InlineForms inlineForms(String prefix);

	public Form forModel(Class modelClass);
	public Form forInstance(Object instance);
	
	public <T extends Form> T newForm(Class<T> formClass);	
	
}
